package com.wl.operator;
/**
 * @author wanglei
 */
public class Demo1 {
    public static void main(String[] args) {
        int a = 3;

        //执行代码后，先赋值，后自增
        int b = a++;

        //执行代码后，先自增，再赋值
        int c = ++a;
        //5
        System.out.println(a);
        //3
        System.out.println(b);
        //5
        System.out.println(c);

        //幂运算 8.0
        double pow = Math.pow(2, 3);
    }
}
